package com.item.audrey_hepburn.entity.db2;

import lombok.Data;


import java.io.Serializable;
import java.util.List;

/**

 _______                             __________              
 \      \   _______  __ ___________  \______   \__ __  ____  
 /   |   \_/ __ \  \/ // __ \_  __ \  |    |  _/  |  \/ ___\ 
/    |    \  ___/\   /\  ___/|  | \/  |    |   \  |  / /_/  >
\____|__  /\___  >\_/  \___  >__|     |______  /____/\___  / 
        \/     \/          \/                \/     /_____/  


 * @Auther: wangdong
 * @Description: TODO
 * @Date: 2019/4/26 13:55
 * @Version 1.0
 */
@Data
public class Role implements Serializable {
    private Integer id;

    private String rolename;

    private List<Permission> permissions;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRolename() {
        return rolename;
    }

    public void setRolename(String rolename) {
        this.rolename = rolename;
    }

    public List<Permission> getPermissions() {
        return permissions;
    }

    public void setPermissions(List<Permission> permissions) {
        this.permissions = permissions;
    }
}